QT += webkit \
    script
    
TARGET = @hybridapp@
TEMPLATE = app
SOURCES += main.cpp \
    mainwindow.cpp
    
HEADERS += mainwindow.h

RESOURCES += @HYBRIDAPP@.qrc

INCLUDEPATH+= ../fw/

# unix:LIBS += -L../fw -lhybridfw
LIBS += -L../fw -lhybridfw


isEmpty(PREFIX) {
  PREFIX = /usr/local
}

message( "Using PREFIX as:" )
message( $$PREFIX )

BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share

DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"

INSTALLS += target desktop iconxpm icon26 icon40 icon64

target.path = $$BINDIR

desktop.path = $$DATADIR/applications/hildon
desktop.files += ../data/$${TARGET}.desktop

iconxpm.path = $$DATADIR/pixmap
iconxpm.files += ../data/$${TARGET}.xpm

icon26.path = $$DATADIR/icons/hicolor/26x26/apps
icon26.files += ../data/icons/26x26/$${TARGET}.png

icon40.path = $$DATADIR/icons/hicolor/40x40/apps
icon40.files += ../data/icons/40x40/$${TARGET}.png

icon64.path = $$DATADIR/icons/hicolor/64x64/apps
icon64.files += ../data/icons/64x64/$${TARGET}.png

